<template>
  <div class="app-container">
    <el-row>
      <el-col :span="4" style="padding-bottom: 20px;">
        <el-button type="primary" @click="addEvent"><i class="el-icon-plus"></i> 新增</el-button>
      </el-col>
    </el-row>
    <ListTable></ListTable>
    <AddDialog ref="addDialog"></AddDialog>
  </div>
</template>

<script>
  import AddDialog from "./components/AddDialog"
  import ListTable from "./components/ListTable"

  export default {
    components: {
      AddDialog,
      ListTable
    },
    data() {
      return {
        list: [{
          "title": "123"
        }],
        listLoading: false
      }
    },
    created() {
    },
    methods: {
      addEvent() {
        this.$bus.$emit("addProjectDialog");
      },
    }
  }
</script>
